package com.ztgf.pay.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;

import com.ztgf.common.dto.BaseDTO;

/**
 * 用户余额日志表DTO
 *
 * @author mxli
 * @Date 2020-07-30 12:14:17
 */
@Data
@TableName("pay_user_balance_log")
@ApiModel(value="用户余额日志表对象", description="用户余额日志表对象")
public class PayUserBalanceLogDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "创建人")
    private Long createUserId;
    @ApiModelProperty(value = "更新人")
    private Long updateUserId;
    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "用户名称")
    private String userName;
    @ApiModelProperty(value = "用户账号")
    private String userNo;
    @ApiModelProperty(value = "总余额")
    private BigDecimal balanceMoney;
    @ApiModelProperty(value = "冻结余额")
    private BigDecimal freezeMoney;
    @ApiModelProperty(value = "可用余额")
    private BigDecimal useMoney;
    @ApiModelProperty(value = "类型 0充值、1支付、3收款、4冻结、5解冻")
    private Integer type;
    @ApiModelProperty(value = "金额")
    private BigDecimal money;
    @ApiModelProperty(value = "原订单id")
    private String originalOrderId;
    @ApiModelProperty(value = "原中金流水号")
    private String originalZjBusinessId;
    @ApiModelProperty(value = "说明")
    private String notes;
}